home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-11-16 | 1.3 KB | 47 lines |
- OBJS = extdrv.obj disk.obj directry.obj file.obj \
- fat.obj dir.obj buffer.obj buf_fat.obj buf_rdir.obj \
- drive.obj misc.obj util.obj rbios.obj \
- init.obj main.obj debug.obj dbgbios.obj
-
- CFLAGS = -mt -M -DREDIR -UDEBUG -UDEBUG_FAT -UDEBUG_BUF -UDEBUG_ERR
- AFLAGS = -twocase -80386R -D REDIR
-
- CC = tcc
- ASM = g:\386asm\exe\386asm
- LINKER = g:\hc386\bin\386linkp
- RUN386 = d:\run386 -nocrt
-
- all: extdrv.exe
-
- extdrv.exe: $(OBJS) last.lib debug.lib
- $(RUN386) $(LINKER) @files @libs -86 -exe extdrv.exe -publist byvalue
-
- main.obj: main.c
- $(CC) -c -mt -M -DREDIR -zAICODE -zC_ITEXT -zTIDATA -zR_IDATA -zBIBSS -zD_IBSS main.c
-
- last.lib: last.obj
- 386lib last.lib -c last.obj
-
- #last.obj: last.c
- # $(CC) -c -mt -M -DREDIR -zAICODE -zC_ITEXT -zTIDATA -zR_IDATA -zBIBSS -zD_IBSS last.c
-
- debug.lib: debug.obj dbgbios.obj
- 386lib debug.lib -c debug.obj dbgbios.obj
-
- .c.obj:
- $(CC) -c $(CFLAGS) $<
-
- .asm.obj:
- $(ASM) $(AFLAGS) $<
-
- buffer.obj: extdrv.h dir.h buffer.h
- directry.obj: extdrv.h regdef.h dir.h buffer.h
- dir.obj: extdrv.h dir.h buffer.h
- fat.obj: extdrv.h
- disk.obj: extdrv.h regdef.h dir.h buffer.h
- drive.obj: extdrv.h disk.h
- file.obj: extdrv.h regdef.h dir.h file.h buffer.h
- init.obj: extdrv.h disk.h dir.h buffer.h
- misc.obj: extdrv.h
- subdir.obj: extdrv.h dir.h buffer.h
-